package com.azdebugit.trancation.test.service;

import com.azdebugit.trancation.test.pojo.CompensationEntity;

import java.util.List;

/**
 * @Author: itdebug
 * @Email: itdebug.fp@cosmos.com
 * @version:: design_pattern_and_otherutils
 * @description:
 * @create: 2021/12/18 21:57.
 */
public interface CompensationService {
    Integer RETRY_LIMIT_COUNT = 3;

    String autoRetry();

    String manualRetry(Integer id);

    String analysisData();

    void save(CompensationEntity compensationDO);

    List<CompensationEntity> findByProperty(Class<CompensationEntity> compensationEntityClass, String busKey, String busKey1);
}
